package com.globalwave.common.appframe.simple
{
	import com.globalwave.common.appframe.GlobalContext;
	import com.globalwave.common.appframe.MainFormAbstract;
	import com.globalwave.common.appframe.MainFormInf;
	import com.globalwave.common.appframe.SubFormInf;
	
	
	public class MainForm extends MainFormAbstract implements MainFormInf
	{
		private var context:GlobalContext ;
		
		public var currentWindow:SubFormInf = null;
		
		public function MainForm()
		{
			super();
		}
		
		public function getGlobalContext():GlobalContext {
			if (this.context == null) {
			    this.context = new GlobalContext() ;
			}
		    return this.context ;
		}
	}
}